Rebuilding a Go project results in error "error obtaining VCS status" in privileged containers
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
Having built a Go snap from a Git repo, rebuilding it results in breakage that only cleaning helps with:
$ snapcraft --use-lxd
# builds fine
# change source
$ snapcraft --use-lxd
Updating build step for spread ('pull' step changed)
+ snapcraftctl build
+ go mod download
+ go install -p 16 -ldflags -linkmode=external ./...
error obtaining VCS status: exit status 128
Use -buildvcs=false to disable VCS stamping.
error obtaining VCS status: exit status 128
Use -buildvcs=false to disable VCS stamping.
Evaluation history
No evaluation history available.